<%@page import="com.sbl.bajw.common.PrivilegeUtil"%>
<%@page import="java.util.Calendar"%>
<%@page import="com.sbl.bajw.common.web.SessionUnit"%>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>

<%
	String userName = SessionUnit.getUserName();
	Calendar cal = Calendar.getInstance();
	int hour = cal.get(Calendar.HOUR_OF_DAY);
	String time = "";
	hour=hour==0?24:hour;
	if(hour<12 && hour>=6){
		time = "早上好";
	}else if(12<=hour && hour<18){
		time = "下午好";
	}else if(18<=hour && hour<24){
		time = "晚上好";
	}else{
		time = "凌晨了";
	}
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>

<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>群防群治管理服务平台</title>
<%@include file="common/prama.jsp" %>
<script type='text/javascript' src='<%=burl%>/js/common/jquery/jquery-1.8.2.min.js'></script>
<script type="text/javascript" src="<%=burl%>/js/main.js"></script>
<script type="text/javascript" src="<%=burl%>/js/business/zonggai.js"></script>
<script type="text/javascript" src="<%=burl%>/js/business/grid.js"></script>
<script type="text/javascript" src="<%=burl%>/js/business/orgSelecter.js"></script>
<script type='text/javascript' src='<%=burl %>/js/business/sendOrder.js'></script>
<link href="<%=burl %>/js/common/jquery/easyui/jquery.datetimepicker.css" type="text/css" rel="stylesheet"/>
<link href="<%=burl %>/css/common/dialog.css" type="text/css" rel="stylesheet"/>
<script type="text/javascript" src="http://api.map.baidu.com/api?v=1.3"></script>
<script type='text/javascript' src='<%=burl %>/js/common/jquery/easyui/jquery.datetimepicker.js'></script>
<script src="<%=burl%>/js/common/highcharts.js"></script>
<script src="<%=burl%>/js/common/common.js"></script>
<link href="<%=burl%>/css/main.css" rel="stylesheet" />
<link href="<%=burl%>/css/zonggai.css" rel="stylesheet" />
<link href="<%=burl%>/css/grid.css" rel="stylesheet" />
<link href="<%=burl %>/css/common/common.css" type="text/css" rel="stylesheet"/>
<script type="text/javascript">
var burl = "<%=burl %>";
</script>
</head>
<body>
	
	<div>
		<div class="header" id="header">
			<div>
				<img src="<%=burl %>/images/top.jpg" class="top"/>
				<div id="userName" class="userName">
					<span><%=time %>:</span>&nbsp;<span><%=userName %></span>
					&nbsp;<span>|</span>&nbsp;
					<%
						if(PrivilegeUtil.GetInstance().hasPrivilege("admin_system")){
					%>
						<a id="into_back" target='_blank' style="cursor: pointer;"><span style="color: #FFF;">进入后台</span></a>
						&nbsp;<span>|</span>&nbsp;
					<%		
						}
					%>
					
					
					<a id="exit_session" target='_blank' style="cursor: pointer;"><span style="color: #FFF;">注销</span></a>
				</div>
				<div class="menu" id="menu"></div>
				<div class="org_xuanxiangka">
					<div class="xuanxiangka" id="xuanxiangka">
						<div tag="z1" pid="1" selected="selected" class="xuanzheqi" fullid="0-1-" style="margin-left: 15px;">
							<div id="bafj" class="mc" pid="1">宝安分局</div>
							<div class="set-iamge" imagesize="1">
								<img src="<%=burl %>/images/10.png"/>
							</div>
							<div class="paichusuoxinxi" id="paichusuoxinxi" under="1">
								<div class="close">
									<img src="<%=burl %>/images/main-images/close.png" />
								</div>
								<div ajaxUnderOrg="org-down"></div>
							</div>
						</div>
						<div tag="z2" class="xuanzheqi">
							<div id="paichusuo" class="mc"></div>
							<div class="set-iamge" imagesize="2">
								<img src="<%=burl %>/images/10.png"/>
							</div>
							<div class="xiaquxinxi" id="xiaquxinxi" under="1">
								<div class="close">
									<img src="<%=burl %>/images/main-images/close.png" />
								</div>
								<div ajaxUnderOrg="org-down"></div>
							</div>
						</div>
						<div tag="z3"class="xuanzheqi">
							<div id="xiaqu" class="mc"></div>
							<div class="set-iamge" imagesize="3">
								<img src="<%=burl %>/images/10.png"/>
							</div>
							<div class="zerenquxinxi" id="zerenquxinxi" under="1">
								<div class="close">
									<img src="<%=burl %>/images/main-images/close.png" />
								</div>
								<div ajaxUnderOrg="org-down"></div>
							</div>
						</div>
						<div tag="z4" id="shequ" class="xuanzheqi">
							<div id="zerenqu" class="mc"></div>
						</div>
					</div>
				</div>
				<div class="tab-div">
					<ul class="tab" id="tab">
						<li tag="zonggai">总概</li>
						<li tag="grid">列表</li>
						<li tag="map">地图</li>
					</ul>
				</div>
			</div>
		</div>
		<div class="main" id="main">
			<div class="zonggai" id="zonggai" tag="zonggai"></div>
			<div class="grid" id="grid" tag="grid"></div>
			<div class="map" id="map" tag="map"></div>
		</div>
	</div>
</body>
</html>